package org.btik.light.mobile.meta;

import org.btik.light.mobile.meta.mo.BaseMoCreator;

/**
 * 设备元数据的xml标签常量
 *
 * @author lustre
 * @since 2022/12/20 15:58
 */
public interface DevMetaXmlConstant {

    String CONTEXT_FILE_NAME = "/assets/devMeta.xml";

    //----tags----
    String ROOT_TAG = "DevMetas";

    String DEV_META = "DevMeta";

    /**
     * {@link org.btik.light.mobile.mo.MoCreator}
     */
    String MO_CREATOR = "MoCreator";

    /**
     * {@link BaseMoCreator}
     */
    String BASE_MO_CREATOR = "BaseMoCreator";

    /**
     * 设备面板
     * <ul>
     *     <li>{@link org.btik.light.mobile.ui.factory.DevPanelActivity} 的子类</li>
     *     <li>{@link org.btik.light.mobile.ui.factory.DevPanel} 的子类</li>
     * </ul>
     */
    String DEV_PANEL = "DevPanel";

    //-----properties----

    /**
     * DevMeta.devType
     */
    String DEV_TYPE = "devType";

    /**
     * MoCreator.class
     */
    String CLASS = "class";

    /**
     * DevPanel.devPanelType
     */
    String DEV_PANEL_TYPE = "devPanelType";


    String SERIAL_CONTROLLER = "SerialController";

    String TYPE = "type";

}
